package pl.grabar.clinic.core.domain.person.data;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Klasa odwzorowuje dni i godziny przyjęć
 * @author db
 *
 */
@Entity
@Table(name = "OFFICE_HOURS")
public class OfficeHours implements Serializable {

	private static final long serialVersionUID = 2826414740529371128L;

	@Id
	@GeneratedValue
	private long id;
	
	/**
	 * Nazwa dnia wybrana z {@link Day}
	 */
	@Column
	private String day;

	@Column(name="FROM_HOUR")
	private String fromHour;

	@Column(name="TO_HOUR")
	private String toHour;

	/*AKCESORY*/
	
	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public String getFromHour() {
		return fromHour;
	}

	public void setFromHour(String fromHour) {
		this.fromHour = fromHour;
	}

	public String getToHour() {
		return toHour;
	}

	public void setToHour(String toHour) {
		this.toHour = toHour;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
